package ch3;

import java.util.Scanner;

public class Zuoye4 {
	public static void main(String[] args) {
		Scanner dx = new Scanner(System.in);
		System.out.println("输入第一个数:");
		int a = dx.nextInt();
		System.out.println("输入第二个数:");
		int b = dx.nextInt();
		System.out.println("输入第三个数:");
		int c = dx.nextInt();
		if (a > b && a > c && b > c) {
			System.out.println("输出为:/" + a + "/" + b + "/" + c);
		} else if (a > b && a > c && c > b) {
			System.out.println("输出为:/" + a + "/" + c + "/" + b);
		} else if (b > a && a > c && b > c) {
			System.out.println("输出为:/" + b + "/" + a + "/" + c);
		} else if (b > a && c > a && b > c) {
			System.out.println("输出为:/" + b + "/" + c + "/" + a);
		} else if (c > a && c > b && a > b) {
			System.out.println("输出为:/" + c + "/" + a + "/" + b);
		} else
			System.out.println("输出为:/" + c + "/" + b + "/" + a);

		// Scanner input = new Scanner(System.in);
		// System.out.println("购买的长度:");
		// double num = input.nextDouble();
		// int a = 3, b;
		// if ((b = (int) num / 3) != 0) {
		// b++;
		// System.out.println("需要买" + b + "根");
		// } else {
		// System.out.println("需要买" + b + "根");
		// }
	}
}
